package com.alm.token.ui.data.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class CurrencyChangeIndexData {
    /**
     * msg : 操作成功
     * status : 0
     * data : {"msg":"转换页面介绍","wallets":[{"id":1,"name":"ETH","engName":"Ethereum","logo":null,"price":88.37,"money":994475.5,"totalMoney":8.7881799935E7,"createTime":1545892607000,"updateTime":1545892608000},{"id":2,"name":"G12","engName":"G12","logo":null,"price":0.2029,"money":999995,"totalMoney":202898.9855,"createTime":1545892609000,"updateTime":1545892610000}],"pro":"0.002"}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * msg : 转换须知:币种转换需要支付转换金额0.2%作为旷工费。
         * wallets : [{"id":1,"name":"ETH","engName":"Ethereum","logo":null,"price":88.37,"money":994475.5,"totalMoney":8.7881799935E7,"createTime":1545892607000,"updateTime":1545892608000},{"id":2,"name":"G12","engName":"G12","logo":null,"price":0.2029,"money":999995,"totalMoney":202898.9855,"createTime":1545892609000,"updateTime":1545892610000}]
         * pro : 0.002
         */

        private String msg;
        private String pro;
        private List<WalletsBean> wallets;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getPro() {
            return pro;
        }

        public void setPro(String pro) {
            this.pro = pro;
        }

        public List<WalletsBean> getWallets() {
            return wallets;
        }

        public void setWallets(List<WalletsBean> wallets) {
            this.wallets = wallets;
        }

        public static class WalletsBean {
            /**
             * id : 1
             * name : ETH
             * engName : Ethereum
             * logo : http://m.zcoin.vip:81/static/images/59137902171.png
             * price : 88.37
             * money : 994475.5
             * "change": true,
             * totalMoney : 8.7881799935E7
             * createTime : 1545892607000
             * updateTime : 1545892608000
             */

            private int id;
            private String name;
            private String engName;
            private Object logo;
            private double price;
            private double money;
            private boolean change;
            private double totalMoney;
            private long createTime;
            private long updateTime;
            private List<ChangeListBean> changeList;


            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getEngName() {
                return engName;
            }

            public void setEngName(String engName) {
                this.engName = engName;
            }

            public Object getLogo() {
                return logo;
            }

            public void setLogo(Object logo) {
                this.logo = logo;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }
            public boolean isChange() {
                return change;
            }

            public void setChange(boolean change) {
                this.change = change;
            }
            public double getTotalMoney() {
                return totalMoney;
            }

            public void setTotalMoney(double totalMoney) {
                this.totalMoney = totalMoney;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public List<ChangeListBean> getChangeList() {
                return changeList;
            }

            public void setChangeList(List<ChangeListBean> changeList) {
                this.changeList = changeList;
            }

            @Override
            public String toString() {
                return "WalletsBean{" +
                        "id=" + id +
                        ", name='" + name + '\'' +
                        ", engName='" + engName + '\'' +
                        ", logo=" + logo +
                        ", price=" + price +
                        ", money=" + money +
                        ", change=" + change +
                        ", totalMoney=" + totalMoney +
                        ", createTime=" + createTime +
                        ", updateTime=" + updateTime +
                        '}';
            }

            public static class ChangeListBean {
                /**
                 * id : 1
                 * name : HETH
                 * engName : Ethereum
                 * logo : https://api.iotoken.info/static/images/eth.png
                 * transferSwitch : 1
                 * drawAccountType : 2
                 * application : null
                 * operation : null
                 * coininfo : null
                 * sort : 2
                 * drawSwitch : 1
                 * indexShowType : 1
                 * addressShow : 1
                 * changeSwitch : 0
                 * minTransfer : 1.0E-4
                 * maxTransfer : 100000
                 * price : 170.85
                 * money : 100091.22036874
                 * totalMoney : 1.710058499999923E7
                 * frozenMoney : 0.0
                 * change : false
                 * createTime : 1545892607000
                 * updateTime : 1574243998000
                 * agoorderMoney : 0.0
                 * "exchangeQuotaSwitch": 1, // 是否需要有兑换额度限制 1 有限制 0 无限制
                 * "exchangeQuota": "980.0000", // 兑换的额度（$）
                 */

                @SerializedName("id")
                private int idX;
                @SerializedName("name")
                private String nameX;
                @SerializedName("engName")
                private String engNameX;
                @SerializedName("logo")
                private String logoX;
                private int transferSwitch;
                private int drawAccountType;
                private Object application;
                private Object operation;
                private Object coininfo;
                private int sort;
                private int drawSwitch;
                private int indexShowType;
                private int addressShow;
                private int changeSwitch;
                private double minTransfer;
                private int maxTransfer;
                @SerializedName("price")
                private double priceX;
                @SerializedName("money")
                private double moneyX;
                @SerializedName("totalMoney")
                private double totalMoneyX;
                private double frozenMoney;
                @SerializedName("change")
                private boolean changeX;
                @SerializedName("createTime")
                private long createTimeX;
                @SerializedName("updateTime")
                private long updateTimeX;
                private double agoorderMoney;
                private int exchangeQuotaSwitch;
                private double exchangeQuota;

                public int getIdX() {
                    return idX;
                }

                public void setIdX(int idX) {
                    this.idX = idX;
                }

                public String getNameX() {
                    return nameX;
                }

                public void setNameX(String nameX) {
                    this.nameX = nameX;
                }

                public String getEngNameX() {
                    return engNameX;
                }

                public void setEngNameX(String engNameX) {
                    this.engNameX = engNameX;
                }

                public String getLogoX() {
                    return logoX;
                }

                public void setLogoX(String logoX) {
                    this.logoX = logoX;
                }

                public int getTransferSwitch() {
                    return transferSwitch;
                }

                public void setTransferSwitch(int transferSwitch) {
                    this.transferSwitch = transferSwitch;
                }

                public int getDrawAccountType() {
                    return drawAccountType;
                }

                public void setDrawAccountType(int drawAccountType) {
                    this.drawAccountType = drawAccountType;
                }

                public Object getApplication() {
                    return application;
                }

                public void setApplication(Object application) {
                    this.application = application;
                }

                public Object getOperation() {
                    return operation;
                }

                public void setOperation(Object operation) {
                    this.operation = operation;
                }

                public Object getCoininfo() {
                    return coininfo;
                }

                public void setCoininfo(Object coininfo) {
                    this.coininfo = coininfo;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }

                public int getDrawSwitch() {
                    return drawSwitch;
                }

                public void setDrawSwitch(int drawSwitch) {
                    this.drawSwitch = drawSwitch;
                }

                public int getIndexShowType() {
                    return indexShowType;
                }

                public void setIndexShowType(int indexShowType) {
                    this.indexShowType = indexShowType;
                }

                public int getAddressShow() {
                    return addressShow;
                }

                public void setAddressShow(int addressShow) {
                    this.addressShow = addressShow;
                }

                public int getChangeSwitch() {
                    return changeSwitch;
                }

                public void setChangeSwitch(int changeSwitch) {
                    this.changeSwitch = changeSwitch;
                }

                public double getMinTransfer() {
                    return minTransfer;
                }

                public void setMinTransfer(double minTransfer) {
                    this.minTransfer = minTransfer;
                }

                public int getMaxTransfer() {
                    return maxTransfer;
                }

                public void setMaxTransfer(int maxTransfer) {
                    this.maxTransfer = maxTransfer;
                }

                public double getPriceX() {
                    return priceX;
                }

                public void setPriceX(double priceX) {
                    this.priceX = priceX;
                }

                public double getMoneyX() {
                    return moneyX;
                }

                public void setMoneyX(double moneyX) {
                    this.moneyX = moneyX;
                }

                public double getTotalMoneyX() {
                    return totalMoneyX;
                }

                public void setTotalMoneyX(double totalMoneyX) {
                    this.totalMoneyX = totalMoneyX;
                }

                public double getFrozenMoney() {
                    return frozenMoney;
                }

                public void setFrozenMoney(double frozenMoney) {
                    this.frozenMoney = frozenMoney;
                }

                public boolean isChangeX() {
                    return changeX;
                }

                public void setChangeX(boolean changeX) {
                    this.changeX = changeX;
                }

                public long getCreateTimeX() {
                    return createTimeX;
                }

                public void setCreateTimeX(long createTimeX) {
                    this.createTimeX = createTimeX;
                }

                public long getUpdateTimeX() {
                    return updateTimeX;
                }

                public void setUpdateTimeX(long updateTimeX) {
                    this.updateTimeX = updateTimeX;
                }

                public double getAgoorderMoney() {
                    return agoorderMoney;
                }

                public void setAgoorderMoney(double agoorderMoney) {
                    this.agoorderMoney = agoorderMoney;
                }

                public int getExchangeQuotaSwitch() {
                    return exchangeQuotaSwitch;
                }

                public void setExchangeQuotaSwitch(int exchangeQuotaSwitch) {
                    this.exchangeQuotaSwitch = exchangeQuotaSwitch;
                }

                public double getExchangeQuota() {
                    return exchangeQuota;
                }

                public void setExchangeQuota(double exchangeQuota) {
                    this.exchangeQuota = exchangeQuota;
                }

                @Override
                public String toString() {
                    return "ChangeListBean{" +
                            "idX=" + idX +
                            ", nameX='" + nameX + '\'' +
                            ", engNameX='" + engNameX + '\'' +
                            ", logoX='" + logoX + '\'' +
                            ", transferSwitch=" + transferSwitch +
                            ", drawAccountType=" + drawAccountType +
                            ", application=" + application +
                            ", operation=" + operation +
                            ", coininfo=" + coininfo +
                            ", sort=" + sort +
                            ", drawSwitch=" + drawSwitch +
                            ", indexShowType=" + indexShowType +
                            ", addressShow=" + addressShow +
                            ", changeSwitch=" + changeSwitch +
                            ", minTransfer=" + minTransfer +
                            ", maxTransfer=" + maxTransfer +
                            ", priceX=" + priceX +
                            ", moneyX=" + moneyX +
                            ", totalMoneyX=" + totalMoneyX +
                            ", frozenMoney=" + frozenMoney +
                            ", changeX=" + changeX +
                            ", createTimeX=" + createTimeX +
                            ", updateTimeX=" + updateTimeX +
                            ", agoorderMoney=" + agoorderMoney +
                            '}';
                }
            }
        }
    }
}
